// 引入axios
import axios from '../utils/request'

// 发送验证码请求
export const verificationApi = (data) => {
    return axios.post('get/code', data)
}

// 注册
export const registerApi = (data) => {
    return axios.post('user/authentication', data)
}
// 登录
export const loginApi = (data) => {
    return axios.post('login', data)
}